package net.toocruel.iqismart.service.helper;

/**
 * @Description
 * @Auther sty
 * @createTime 2018/5/12 下午9:03
 */
public class CreditHelper {

//    public static void addCredit(Credit credit){
//        UserService userService = ContextLoader.getCurrentWebApplicationContext().getBean(UserService.class);
//        userService.addCredit(credit);
//    }
//
//    public static void addCredit(Long userId,int count){
//        UserService userService = ContextLoader.getCurrentWebApplicationContext().getBean(UserService.class);
//        userService.addCredit(userId,count);
//    }
//
//    public static void addCoin(Long userId,int count){
//        UserService userService = ContextLoader.getCurrentWebApplicationContext().getBean(UserService.class);
//        userService.addCoin(userId,count);
//    }
}
